package start.doubudouyin.mapper;

import start.doubudouyin.entity.Usersmessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;

public interface UsersmessageMapper extends BaseMapper<Usersmessage> {
    List<Usersmessage> getChatHistory(String senderId, String receiverId);

    Integer insertUsersMessage(Usersmessage usersmessage);
}